﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
using Abp.AutoMapper;
using FwProject.ShoppingMall.BrandInfo;

namespace FwProject.BrandInfo.Dto
{
    [AutoMap(typeof(Brand))]
    public class BrandInput
    {
        /// <summary>
        /// 品牌名称
        /// </summary>
        [Required]
        [Display(Name ="品牌名称")]
        public string BrandName { get; set; }
        /// <summary>
        /// 所属层级
        /// </summary>
        [Required]
        [Display(Name = "所属层级")]
        public LeveTypeEnum Levetype { get; set; } = LeveTypeEnum.一级分类;
        /// <summary>
        /// 品牌介绍
        /// </summary>
        [Display(Name = "品牌介绍")]
        public string NoteContent { get; set; }
        /// <summary>
        /// 分类图片
        /// </summary>
        [Display(Name = "分类图片")]
        public string BrandLogo { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        [Display(Name = "排序")]
        public int Orders { get; set; }
    }
}
